using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application.Service.WxSub.Dto;

public class UpdateSubInput
{
	[Required(ErrorMessage = "修改编号不可为空")]
	public long Id { get; set; }

	/// <summary>
	/// 商户名称
	/// </summary>
	public string SubName { get; set; }

	/// <summary>
	/// 子商户的appid
	/// </summary>
	public string? SubAppId { get; set; }

	/// <summary>
	/// 子商户小程序appsecret
	/// </summary>
	public string? SubAppSecret { get; set; }

	/// <summary>
	///             商户平台的子商户号
	/// </summary>
	public string? SubMerchantId { get; set; }

	public string? Remark { get; set; }

	[Required(ErrorMessage = "当前必填")]
	public long SubTenantId { get; set; }
}
